﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IDichVu
    {
        [OperationContract]
        IEnumerable<DICHVU> GetByAllDichVu();

        [OperationContract]
        String InsertDichVu(DICHVU data);

        [OperationContract]
        String UpdateDichVu(DICHVU data);

        [OperationContract]
        String DeleteDichVu(string id);

        [OperationContract]
        IEnumerable<DICHVU> GetByTopDichVu(string _top, string _where, string _order);

        [OperationContract]
        String ApproveDichVu(DICHVU data);
    }
}
